<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>父母读库</title>
    <link rel="stylesheet" href="../css/framework7.ios.min.css">
    <link rel="stylesheet" href="../css/framework7.ios.colors.min.css">
    <link rel="stylesheet" href="../css/framework7-icons.css">
</head>
<body>
<div class="statusbar-overlay"></div>
<div class="views">
    <div class="view view-main">
        <div class="navbar navbar-hidden">
            <div class="navbar-inner"></div>
        </div>
        <div class="pages navbar-through">
            <div data-page="Poster" id="Poster" class="page no-navbar toolbar-fixed">
                <div class="page-content">
                    <div class="savetext" style="width: 100%;line-height: 5vh;text-align: center;color: #4c3b3b;font-weight: bold;">长按图片保存到相册</div>
                    <div style="width: 100%;height: auto;display: flex;align-items: center;justify-content: center;flex-direction: column;" class="content-wrap">
                        <span class="preloader" style="margin-top: 150px;"></span>
                        <span class="color-gray">海报生成中</span>
                        <span class="color-gray" style="font-size: 12px;">请稍等</span>
                    </div>
                </div>
                <div class="toolbar">
                    <div class="toolbar-inner" style="justify-content: space-around;-webkit-justify-content: space-around;">
                        <a href="#" class="link open-desc-btn" style="color: #4c3b3b;">查看榜单</a>
                        <a href="https://h5.youzan.com/v2/apps/wheel?alias=k2gdxvkn" class="link external open-coupon-btn" style="color: #4c3b3b;">奖励自己</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="../js/wx.jssdk.min.1.2.0.js"></script>
<script type="text/javascript" src="../js/framework7.min.js"></script>
<script type="text/javascript">
    !function(){var a=Dom7,b="http://api.nldou.com/postimage/fmdk",c="http://api.nldou.com/postimage/get",d=new Framework7({}),e=d.addView(".view-main",{dynamicNavbar:!0});a.ajax({url:"http://api.nldou.com/weixinapi/init_wx_jsapi",method:"GET",data:{fromUrl:window.location.href},dataType:"json",success:function(a){1==a.code&&wx.config({debug:!1,appId:a.data.appid,timestamp:a.data.timestamp,nonceStr:a.data.nonceStr,signature:a.data.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","hideMenuItems"]})}}),wx.ready(function(){wx.hideMenuItems({menuList:["menuItem:share:qq","menuItem:share:weiboApp","menuItem:share:facebook","menuItem:share:QZone","menuItem:copyUrl","menuItem:openWithQQBrowser","menuItem:openWithSafari"]}),wx.onMenuShareTimeline({title:"父母读库个人成就展示",link:c,imgUrl:"http://wap.nldou.com/postimage/img/comm-logo.jpg"}),wx.onMenuShareAppMessage({title:"父母读库个人成就展示",desc:"复旦大学社会学教授沈奕斐，为您解答家庭教育的各类问题，陪您共走育儿路",link:c,imgUrl:"http://wap.nldou.com/postimage/img/comm-logo.jpg",type:"link"})}),a.ajax({method:"GET",url:b,data:{},dataType:"json",xhrFields:{withCredentials:!0},success:function(b){var d,e;0==b.code?window.location.href=c:1==b.data.status?(d='<img src="'+b.data.url+'" style="width: 75%;box-shadow: 0 2px 6px rgba(0,0,0,.3)">',a("#Poster .content-wrap").html(d)):(e='<span class="color-gray" style="margin: 80px auto 5px;">您还没有听过课哦~~</span>\n<span class="color-gray" style="font-size: 12px;margin: 0 auto 10px;">长按二维码，添加管理员为好友，入群读书</span><img src="../img/doudou-qrcode.jpg" style="width: 100px;">',a("#Poster .savetext").hide(),a("#Poster .content-wrap").html(e))}}),a(document).on("click",".open-desc-btn",function(){e.router.load({url:"desc.html"})}),a(document).on("click",".close-desc-btn",function(){e.router.back()})}();
</script>
</body>
</html>